package com.cq.hd.product.mapper;

import com.cq.hd.product.api.dto.ActiveBrowseStatisticsDto;
import com.cq.hd.product.api.vo.ActiveBrowseStatisticsVo;
import com.cq.hd.product.po.TbActiveBrowseStatisticsPo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 活动浏览统计表 Mapper 接口
 * </p>
 *
 * @author mYunYu
 * @since 2024-01-15
 */
@Mapper
public interface TbActiveBrowseStatisticsMapper extends BaseMapper<TbActiveBrowseStatisticsPo> {

    int addBrowseNum(@Param("id") Long id, @Param("browseNum") int browseNum);

    List<ActiveBrowseStatisticsVo> listByDto(ActiveBrowseStatisticsDto activeBrowseStatisticsDto);
}
